home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / os2 / octa209s.zip / octave-2.09 / src / octave.gperf < prev    next >
Text File  |  1997-03-07  |  1KB  |  68 lines

  1. %{
  2.  
  3. enum octave_kw_id
  4. {
  5.   all_va_args_kw,
  6.   break_kw,
  7.   case_kw,
  8.   catch_kw,
  9.   continue_kw,
  10.   else_kw,
  11.   elseif_kw,
  12.   end_kw,
  13.   end_try_catch_kw,
  14.   end_unwind_protect_kw,
  15.   endfor_kw,
  16.   endfunction_kw,
  17.   endif_kw,
  18.   endswitch_kw,
  19.   endwhile_kw,
  20.   for_kw,
  21.   function_kw,
  22.   global_kw,
  23.   gplot_kw,
  24.   gsplot_kw,
  25.   if_kw,
  26.   otherwise_kw,
  27.   replot_kw,
  28.   return_kw,
  29.   switch_kw,
  30.   try_kw,
  31.   unwind_protect_kw,
  32.   unwind_protect_cleanup_kw,
  33.   while_kw
  34. };
  35.  
  36. %}
  37. struct octave_kw { char *name; int tok; octave_kw_id kw_id; };
  38. %%
  39. all_va_args, ALL_VA_ARGS, all_va_args_kw
  40. break, BREAK, break_kw
  41. case, CASE, case_kw
  42. catch, CATCH, catch_kw
  43. continue, CONTINUE, continue_kw
  44. else, ELSE, else_kw
  45. elseif, ELSEIF, elseif_kw
  46. end, END, end_kw
  47. end_try_catch, END, end_try_catch_kw
  48. end_unwind_protect, END, end_unwind_protect_kw
  49. endfor, END, endfor_kw
  50. endfunction, END, endfunction_kw
  51. endif, END, endif_kw
  52. endswitch, END, endswitch_kw
  53. endwhile, END, endwhile_kw
  54. for, FOR, for_kw
  55. function, FCN, function_kw
  56. global, GLOBAL, global_kw
  57. gplot, PLOT, gplot_kw
  58. gsplot, PLOT, gsplot_kw
  59. if, IF, if_kw
  60. otherwise, OTHERWISE, otherwise_kw
  61. replot, PLOT, replot_kw
  62. return, FUNC_RET, return_kw
  63. switch, SWITCH, switch_kw
  64. try, TRY, try_kw
  65. unwind_protect, UNWIND, unwind_protect_kw
  66. unwind_protect_cleanup, CLEANUP, unwind_protect_cleanup_kw
  67. while, WHILE, while_kw
  68.